<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <!--<div class="form-group">-->
        <!--<label for="c-store_id" class="control-label col-xs-12 col-sm-2">{:__('Store_id')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-store_id" data-rule="required" data-source="store/index" class="form-control selectpage" name="row[store_id]" type="text" value="{$row.store_id}">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-openid" class="control-label col-xs-12 col-sm-2">{:__('Openid')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-openid" class="form-control" name="row[openid]" type="text" value="{$row.openid}">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-unionid" class="control-label col-xs-12 col-sm-2">{:__('Unionid')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-unionid" class="form-control" name="row[unionid]" type="text" value="{$row.unionid}">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-mp_openid" class="control-label col-xs-12 col-sm-2">{:__('Mp_openid')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-mp_openid" class="form-control" name="row[mp_openid]" type="text" value="{$row.mp_openid}">-->
        <!--</div>-->
    <!--</div>-->
    <div class="form-group">
        <label for="c-wechat_num" class="control-label col-xs-12 col-sm-2">{:__('Wechat_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wechat_num" class="form-control" name="row[wechat_num]" type="text" value="{$row.wechat_num}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-phone" class="control-label col-xs-12 col-sm-2">{:__('手机号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-phone" class="form-control" name="row[phone]" type="text" value="{$row.phone}">
        </div>
    </div>
    <!--<div class="form-group">-->
        <!--<label for="c-province" class="control-label col-xs-12 col-sm-2">{:__('Province')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-province" class="form-control" name="row[province]" type="text" value="{$row.province}">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-city" class="control-label col-xs-12 col-sm-2">{:__('City')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<div class='control-relative'><input id="c-city" class="form-control" data-toggle="city-picker" name="row[city]" type="text" value="{$row.city}"></div>-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-avatar" class="control-label col-xs-12 col-sm-2">{:__('Avatar')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<div class="input-group">-->
                <!--<input id="c-avatar" class="form-control" size="50" name="row[avatar]" type="text" value="{$row.avatar}">-->
                <!--<div class="input-group-addon no-border no-padding">-->
                    <!--<span><button type="button" id="plupload-avatar" class="btn btn-danger plupload" data-input-id="c-avatar" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-avatar"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>-->
                    <!--<span><button type="button" id="fachoose-avatar" class="btn btn-primary fachoose" data-input-id="c-avatar" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>-->
                <!--</div>-->
                <!--<span class="msg-box n-right" for="c-avatar"></span>-->
            <!--</div>-->
            <!--<ul class="row list-inline plupload-preview" id="p-avatar"></ul>-->
        <!--</div>-->
    <!--</div>-->

    {if condition="$Think.session.menu"}
    <!--<div class="form-group">-->
        <!--<label for="c-check_pass" class="control-label col-xs-12 col-sm-2">审核状态:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<select  id="c-check_pass" data-rule="required" class="form-control selectpicker" name="row[check_pass]">-->
                <!--{foreach name="check_list" item="vo"}-->
                    <!--{if condition="$row.check_pass eq $key"}-->
                    <!--<option value="{$key}" selected>{$vo}</option>-->
                    <!--{else /}-->
                    <!--<option value="{$key}">{$vo}</option>-->
                    <!--{/if}-->
                <!--{/foreach}-->
            <!--</select>-->
        <!--</div>-->
    <!--</div>-->

    <div class="form-group">
        <label for="c-check_pass" class="control-label col-xs-12 col-sm-2">审核状态:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
                {foreach name="check_list" item="vo"}
                <label for="row[check_pass]-{$key}"><input id="row[check_pass]-{$key}" name="row[check_pass]" type="radio" value="{$key}" {in name="key" value="$row.check_pass"}checked{/in} /> {$vo}</label>
                {/foreach}
            </div>

        </div>
    </div>
    {/if}

    <div class="form-group {if condition='$row.check_pass neq "2"'}hidden{/if}" id="reason-box">
        <label for="c-reason" class="control-label col-xs-12 col-sm-2">未通过原因:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-reason" class="form-control editor" rows="5" name="row[reason]"  {if condition="$Think.session.admin.type neq '0'"} disabled="disabled" {/if}   cols="50" maxlength="300" placeholder="未通过原因,最多300字">{$row.reason}</textarea>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
